Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add interpretation for fei effect size #609

Merged
merged 2 commits into from
Sep 30, 2023
Merged

Add interpretation for fei effect size #609

merged 2 commits into from
Sep 30, 2023

Conversation

rempsyc
Copy link
Member

@rempsyc rempsyc commented Sep 24, 2023

Closes #608


library(effectsize)
packageVersion("effectsize")
#> [1] '0.8.6.1'

htest <- chisq.test(table(mtcars$cyl), p = c(0.1, 0.3, 0.6))

x <- effectsize(htest)

effectsize::interpret(x, rules = "funder2019")$Interpretation
#> [1] "medium"
#> (Rules: funder2019)

effectsize::interpret(x, rules = "funder2019")
#> Fei  |       95% CI | Interpretation
#> ------------------------------------
#> 0.27 | [0.17, 1.00] |         medium
#> 
#> - Adjusted for uniform expected probabilities.
#> - One-sided CIs: upper bound fixed at [1.00].
#> - Interpretation rule: funder2019

Created on 2023-09-24 with reprex v2.0.2

@codecov
Copy link

codecov bot commented Sep 24, 2023

Codecov Report

Merging #609 (c5366a5) into main (14e388d) will not change coverage.
The diff coverage is 100.00%.

❗ Current head c5366a5 differs from pull request most recent head 6631551. Consider uploading reports for the commit 6631551 to get more accurate results

@@           Coverage Diff           @@
##             main     #609   +/-   ##
=======================================
  Coverage   90.55%   90.55%           
=======================================
  Files          56       56           
  Lines        3419     3419           
=======================================
  Hits         3096     3096           
  Misses        323      323           
Files Coverage Δ
R/interpret.R 91.01% <100.00%> (ø)
R/interpret_r.R 100.00% <ø> (ø)

@rempsyc rempsyc merged commit 49876e0 into main Sep 30, 2023
26 checks passed
@rempsyc rempsyc deleted the fei_interpretation branch September 30, 2023 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing interpretation for fei effect size
2 participants